package com.foldingleaf.withdraw.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.foldingleaf.common.annotation.Excel;
import com.foldingleaf.common.core.domain.BaseEntity;

/**
 * 用户银行卡绑定对象 user_bank_card
 * 
 * @author ajian
 * @date 2022-06-22
 */
public class UserBankCard
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long cardId;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long userID;

    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankName;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCardNo;

    /** 持卡人 */
    @Excel(name = "持卡人")
    private String bankCardUser;

    /** 开户地址 */
    @Excel(name = "开户地址")
    private String bankCardAddress;

    public void setCardId(Long cardId) 
    {
        this.cardId = cardId;
    }

    public Long getCardId()
    {
        return cardId;
    }
    public void setUserId(Long userId) 
    {
        this.userID = userId;
    }

    public Long getUserID()
    {
        return userID;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setBankCardNo(String bankCardNo) 
    {
        this.bankCardNo = bankCardNo;
    }

    public String getBankCardNo() 
    {
        return bankCardNo;
    }
    public void setBankCardUser(String bankCardUser) 
    {
        this.bankCardUser = bankCardUser;
    }

    public String getBankCardUser() 
    {
        return bankCardUser;
    }
    public void setBankCardAddress(String bankCardAddress) 
    {
        this.bankCardAddress = bankCardAddress;
    }

    public String getBankCardAddress() 
    {
        return bankCardAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cardId", getCardId())
            .append("userID", getUserID())
            .append("bankName", getBankName())
            .append("bankCardNo", getBankCardNo())
            .append("bankCardUser", getBankCardUser())
            .append("bankCardAddress", getBankCardAddress())
            .toString();
    }
}
